package com.zsl.blog.api.vo.params;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;


@Data
@ApiModel("登录信息")
public class LoginParam {
    @ApiModelProperty("用户名")
    @NotBlank(message = "用户名不允许为空!")
    private String account;


    @ApiModelProperty("密码")
    @NotBlank(message = "密码不允许为空!")
    private String password;
}
